﻿namespace WMS6.Web.AnalyticsReportServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Collections.Generic;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DataContract(Name="OperationLogQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class OperationLogQueryEntity : BaseQuery
    {
        [OptionalField]
        private string DescrField;
        [OptionalField]
        private string EndDatetimeField;
        [OptionalField]
        private string StartDatetimeField;
        [OptionalField]
        private string UserIDField;
        [OptionalField]
        private List<string> WhIDField;

        [DataMember]
        public string Descr
        {
            get
            {
                return this.DescrField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DescrField, value))
                {
                    this.DescrField = value;
                    base.RaisePropertyChanged("Descr");
                }
            }
        }

        [DataMember]
        public string EndDatetime
        {
            get
            {
                return this.EndDatetimeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.EndDatetimeField, value))
                {
                    this.EndDatetimeField = value;
                    base.RaisePropertyChanged("EndDatetime");
                }
            }
        }

        [DataMember]
        public string StartDatetime
        {
            get
            {
                return this.StartDatetimeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StartDatetimeField, value))
                {
                    this.StartDatetimeField = value;
                    base.RaisePropertyChanged("StartDatetime");
                }
            }
        }

        [DataMember]
        public string UserID
        {
            get
            {
                return this.UserIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UserIDField, value))
                {
                    this.UserIDField = value;
                    base.RaisePropertyChanged("UserID");
                }
            }
        }

        [DataMember]
        public List<string> WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

